<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019-02-22
 * Time: 11:34
 */

namespace app\index\validate;


use think\Validate;

class Recharge extends Validate
{
    protected $rule = [
        'u_id'                 => 'require',
        'o_type'               => 'require',
        'o_money_rmb'          => 'require',
        'o_remark'             => 'require',

    ];

    protected $message = [
        'u_id.require'                 => '用户ID 不能为空',
        'o_type.require'               => '请选择充值类型',
        'o_money_rmb.email'            => '请填写充值金额',
        'o_remark.email'               => '请填写充值说明',
    ];
}